#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
struct S {
	char a;
	int b;
	char c;
};
#define OFFSETOF(type, e) ((int)(&(((type*)0)->e)))
int main() {
	printf("%d ", OFFSETOF(struct S, a));
	printf("%d ", OFFSETOF(struct S, b));
	printf("%d ", OFFSETOF(struct S, c));
	return 0;
}